package com.qianke.core.mapper;

import com.qianke.domain.dto.AdminRoleDto;
import com.qianke.domain.dto.query.AdminGroupQuery;
import com.qianke.domain.entity.AdminRole;

import java.util.List;

public interface AdminRoleMapper {
    int deleteByPrimaryKey(Integer id);

    int insert(AdminRole record);

    int insertSelective(AdminRole record);

    AdminRole selectByPrimaryKey(Integer id);

    int updateByPrimaryKeySelective(AdminRole record);

    int updateByPrimaryKeyWithBLOBs(AdminRole record);

    int updateByPrimaryKey(AdminRole record);

    List<AdminRoleDto> listByCondition(AdminGroupQuery query);
}